package com.lesso.yjy.sunflower.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.yjy.sunflower.pojo.dto.EmployeeDTO;
import com.lesso.yjy.sunflower.pojo.dto.EmployeeQueryDTO;
import com.lesso.yjy.sunflower.pojo.vo.EmployeeVO;

public interface IEmployeeService {
    Long save(EmployeeDTO dto);

    Page<EmployeeVO> page(EmployeeQueryDTO dto);

    Page<EmployeeVO> customPage(EmployeeQueryDTO dto);

    void deleteById(Long id);

    void update(EmployeeDTO dto);

    EmployeeVO getBy(Long id);
}
